﻿<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="ctrPager.ascx.cs" Inherits="Mortgage.UserControl.ctrPager" %>
<div class="pager">
   <div id="left" style="float:left;">
      <span>Show Page </span>
      <asp:DropDownList ID="ddlPageNumber" runat="server"
         AutoPostBack="true"
         OnSelectedIndexChanged="ddlPageNumber_SelectedIndexChanged"></asp:DropDownList>
      <span> of</span>
      <asp:Label ID="lblShowRecords" runat="server"></asp:Label>
      <span>Pages </span>
   </div>
   <div id="right" style="float:right;">
      <span>Display </span>
      <asp:DropDownList ID="ddlPageSize"
            runat="server"
            AutoPostBack="true"
            OnSelectedIndexChanged="ddlPageSize_SelectedIndexChanged">
         <asp:ListItem Text="10" Value="10"></asp:ListItem>
         <asp:ListItem Text="20" Value="20"></asp:ListItem>
         <asp:ListItem Text="30" Value="30" Selected="true"></asp:ListItem>
         <asp:ListItem Text="40" Value="40"></asp:ListItem>
         <asp:ListItem Text="50" Value="50"></asp:ListItem>
         <asp:ListItem Text="100" Value="100"></asp:ListItem>
         <asp:ListItem Text="All" Value="214748367"></asp:ListItem>
      </asp:DropDownList>
      <span> Records per Page</span>
   </div>
</div>